state and prove euler's theorem in graph theory